@(filter: String,
  openCount: Int,
  closedCount: Int,
  condition: gitbucket.core.service.IssuesService.IssueSearchCondition)(implicit context: gitbucket.core.controller.Context)
<ul class="nav nav-pills pull-left" style="line-height: 14px; margin-bottom: 10px;">
  <li class="@(if(condition.state == "open"){"active"})">
    <a href="@condition.copy(state = "open").toURL">Open <span class="badge">@openCount</span></a>
  </li>
  <li class="@(if(condition.state == "closed"){"active"})">
    <a href="@condition.copy(state = "closed").toURL">Closed <span class="badge">@closedCount</span></a>
  </li>
  @*
  <li class="@if(filter == "created_by"){active}">
    <a href="@path/dashboard/@active/created_by@condition.copy(author = None, assigned = None).toURL">Created</a>
  </li>
  <li class="@if(filter == "assigned"){active}">
    <a href="@path/dashboard/@active/assigned@condition.copy(author = None, assigned = None).toURL">Assigned</a>
  </li>
  <li class="@if(filter == "mentioned"){active}">
    <a href="@path/dashboard/@active/mentioned@condition.copy(author = None, assigned = None).toURL">Mentioned</a>
  </li>
  *@
</ul>
